﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace ISchool
{
    class Label_State:System.Windows.Forms.Label
    {
        
        public Label_State()
        { 
        }
        protected override void OnMouseHover(EventArgs e)
        {
            base.OnMouseHover(e);
            this.ForeColor = Color.Moccasin;
        }
        protected override void OnMouseLeave(EventArgs e)
        {
            base.OnMouseLeave(e);
            this.ForeColor = Color.Black;
        }
        protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseDown(e);
            this.ForeColor = Color.Red;
        }
    }
}
